<html {$html_attrs}>
<head>
<title>{$caption commercial_invoices_eport}</title>
{BEGIN stylesheetlink}
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{END stylesheetlink}
<style>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border: solid black 1px;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid #cccccc 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}

.pagesummary
{
background-color:#ffffbb;
}
.globalsummary
{
background-color:#ffe0b0;
}

{$cssdata}

</style> 
</head>
<body topmargin=5 style="background:white">
{BEGIN body}
{$header}
{BEGIN page}
<div>

<h1>{$caption commercial_invoices_eport}</h1>
<div id='selpage'>{mlang_message PAGE1} {$pageno} {mlang_message PAGE2} {$maxpages} </div>
{BEGIN pdf_block}
{BEGIN pdflink_block}
<a href=# class=pdf {$pdflink_attrs}>{mlang_message PDF_VIEW}</a>
{END pdflink_block}
{END pdf_block}

{BEGIN grid_block}
<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_header}
<tr>
<td class=blackshade>
{BEGIN id_fieldheader}
<b>{$label commercial_invoices_eport id}</b>
{END id_fieldheader}
</td>
<td class=blackshade>
{BEGIN account_id_fieldheader}
<b>{$label commercial_invoices_eport account_id}</b>
{END account_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN buyer_id_fieldheader}
<b>{$label commercial_invoices_eport buyer_id}</b>
{END buyer_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN consignee_id_fieldheader}
<b>{$label commercial_invoices_eport consignee_id}</b>
{END consignee_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN notify_id_fieldheader}
<b>{$label commercial_invoices_eport notify_id}</b>
{END notify_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN commercial_invoice_no_fieldheader}
<b>{$label commercial_invoices_eport commercial_invoice_no}</b>
{END commercial_invoice_no_fieldheader}
</td>
<td class=blackshade>
{BEGIN commercial_invoice_date_fieldheader}
<b>{$label commercial_invoices_eport commercial_invoice_date}</b>
{END commercial_invoice_date_fieldheader}
</td>
<td class=blackshade>
{BEGIN customer_purchase_order_no_fieldheader}
<b>{$label commercial_invoices_eport customer_purchase_order_no}</b>
{END customer_purchase_order_no_fieldheader}
</td>
<td class=blackshade>
{BEGIN bl_awb_no_fieldheader}
<b>{$label commercial_invoices_eport bl_awb_no}</b>
{END bl_awb_no_fieldheader}
</td>
<td class=blackshade>
{BEGIN country_id_fieldheader}
<b>{$label commercial_invoices_eport country_id}</b>
{END country_id_fieldheader}
</td>
<td class=blackshade>
{BEGIN export_date_fieldheader}
<b>{$label commercial_invoices_eport export_date}</b>
{END export_date_fieldheader}
</td>
<td class=blackshade>
{BEGIN payment_term_fieldheader}
<b>{$label commercial_invoices_eport payment_term}</b>
{END payment_term_fieldheader}
</td>
<td class=blackshade>
{BEGIN export_references_fieldheader}
<b>{$label commercial_invoices_eport export_references}</b>
{END export_references_fieldheader}
</td>
<td class=blackshade>
{BEGIN export_route_fieldheader}
<b>{$label commercial_invoices_eport export_route}</b>
{END export_route_fieldheader}
</td>
<td class=blackshade>
{BEGIN package_marks_fieldheader}
<b>{$label commercial_invoices_eport package_marks}</b>
{END package_marks_fieldheader}
</td>
<td class=blackshade>
{BEGIN misc_charges_fieldheader}
<b>{$label commercial_invoices_eport misc_charges}</b>
{END misc_charges_fieldheader}
</td>
<td class=blackshade>
{BEGIN certifications_fieldheader}
<b>{$label commercial_invoices_eport certifications}</b>
{END certifications_fieldheader}
</td>
</tr>
{END grid_header}
{BEGIN grid_row}
<!-------------------------------------  data ----------------------------------------->
{BEGIN row_data}
<tr>
	<td class=data>{$id_value}</td>
	<td class=data>{$account_id_value}</td>
	<td class=data>{$buyer_id_value}</td>
	<td class=data>{$consignee_id_value}</td>
	<td class=data>{$notify_id_value}</td>
	<td class=data>{$commercial_invoice_no_value}</td>
	<td class=data>{$commercial_invoice_date_value}</td>
	<td class=data>{$customer_purchase_order_no_value}</td>
	<td class=data>{$bl_awb_no_value}</td>
	<td class=data>{$country_id_value}</td>
	<td class=data>{$export_date_value}</td>
	<td class=data>{$payment_term_value}</td>
	<td class=data>{$export_references_value}</td>
	<td class=data>{$export_route_value}</td>
	<td class=data>{$package_marks_value}</td>
	<td class=data>{$misc_charges_value}</td>
	<td class=data>{$certifications_value}</td>
</tr>
{END row_data}
{END grid_row}
</table>
{END grid_block}
</div>
{END page}
{$footer}
{END body}
</body>
</html>